package com.schoolCommunity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.schoolCommunity.entity.Information;
import com.schoolCommunity.entity.MailboxAdmin;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author YTH
 * @since 2020-10-14
 */
public interface MailboxAdminService extends IService<MailboxAdmin> {

    //用户投递到管理员信箱
    public Information SendToAdmin(MailboxAdmin mailboxAdmin);

    //用户获取所有发出去的邮件
    public Information GetSendFromMember(long memberId);

    //管理员获取尚未查看的邮箱
    public Information GetNoReadMailToAdmin(long adminId);

    //管理员获取所有收到的邮箱
    public Information GetAllMail(long adminId);

    //管理员确认阅读信箱
    public Information queRenGetMail(long MailId);


}
